package com.bonc.ioc.dao;

import com.bonc.ioc.base.mapper.BaseDao;
import com.bonc.ioc.base.page.PageData;
import com.bonc.ioc.vo.StandardVo;
import com.bonc.ioc.vo.SysDicInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @description:
 * @author: wangqinglin
 * @date: 2021/3/18 11:06
 * @change : 2021/3/18 11:06 by q8541q@163.com  for init
 */
@Mapper
public interface StandardMapper extends BaseDao<StandardVo> {

    /**
     * select by primary key
     *
     * @param id primary key
     * @return object by primary key
     */
    StandardVo selectByPrimaryKey(@Param("id") Long id);

    List selectStandardInfoShowByPage(PageData pageData);

    List<StandardVo> queryStandRanking(@Param("id") Integer id);

    List<Map> picChart();

    List<Map> cylindricalChart();

    List<Map<String, Object>> selectAll();

    List<String> selectStandardColumns();

    List<String> selectStandardBasicDataColumns();

    List<Map<String, Object>> selectStandardBasicDataAll();

    List<String> selectStandardBasicDataOptionColumns();

    List<Map<String, Object>> selectStandardBasicOptionDataAll();

    List<String> selectStandardDetailColumns();

    List<Map<String, Object>> selectStandardDetailAll();

    void deleteAll();

    void saveAll(StandardVo standardVo);

}